package com.zhj.psi.web.service;

import com.zhj.psi.web.entity.Role;
import com.zhj.psi.web.entity.User;

import java.util.List;

/**
 * Created by zhuhuijun on 2017/8/31 17:16
 */
public interface UserService {
    public User findByUsername(String username);

    public List<Role> listRoleByUserId(Long userid);

    User findById(long id);

    User addUser(User user);
}
